package org.ust.analyse;

import java.util.Iterator;

public class Main
{

	/**
	 * @param args
	 */
	public static void main ( String [ ] args )
	{
		String name = "Main.java";
		String path = "C:\\";
		ClassInspector analyzer = AnalysisUtil.analyze ( path , name );
		Iterator < String > iterator = analyzer.getStatementSequence ( )
				.iterator ( );
		while ( iterator.hasNext ( ) )
		{
			String output = ( String ) iterator.next ( );
			System.out.println ( output );
		}
		System.out.println ( "Type of d: "
				+ analyzer.checkLocalVariableType ( "d" ) );
	}

}
